- item
- The object to locate in the ICollection.
Visual Basic (Declaration) | |
---|---|
Public Overridable Function Contains( _ ByVal item As KeyValuePair(Of TKey,TValue) _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ThreadSafeDictionary(Of TKey,TValue) Dim item As KeyValuePair(Of TKey,TValue) Dim value As Boolean value = instance.Contains(item) |
C# | |
---|---|
public virtual bool Contains( KeyValuePair<TKey,TValue> item ) |
C++/CLI | |
---|---|
public: virtual bool Contains( KeyValuePair<TKey^,TValue^> item ) |
Parameters
- item
- The object to locate in the ICollection.
Return Value
true if item is found in the ICollection; otherwise, false.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7